package com.qfedu.openplateform.manager.service;

import com.github.pagehelper.PageInfo;
import com.qfedu.openplateform.manager.entity.AdminUser;
import com.qfedu.openplateform.manager.entity.Customer;

import java.util.List;

public interface CustomerService {
    PageInfo<Customer> getCustomerList(Customer customer, Integer page, Integer pageSize);

    List<Integer> getCustomerRoleIds(Integer customerId);

    void addCustomer(Customer customer);

    void updateCustomer(Customer customer);

    Customer getCustomerById(Integer id);

    void deleteCustomer(Integer[] ids);

    List<Customer> getCustomerTree();



    Customer customerId(Integer id);
}
